package cn.kgc.client;

import cn.kgc.base.dto.LockStockDTO;
import cn.kgc.commons.vo.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

/**
 * <p></p>
 *
 * @author 李孟鸠
 * @Date: 2023年01月03日11:55
 */
@FeignClient(value = "mall-wms",path = "/wms",fallback = WmsFeignClientImpl.class)
public interface WmsFeignClient {
    @PutMapping("/WareSku/lockStock")
   Result<Boolean> lockStock(@RequestBody List<LockStockDTO> lockStockDTOList);
}
